package com.mrd.gtimpframe.service;

import com.mrd.framework.config.web.json.Result;

/**
 * Created by dusy on 2017/7/31.
 */
public interface RejectService {
    /**
     * 客户申请驳回
     */
    Result customerApply(String declaId, String applyReasonId, String remark) throws Exception;

    /**
     * 供应商处理驳回申请
     */
    Result supplierAccept(String declaId, String acceptedResult, String dealWithNpReason, String acceptedOpinion) throws Exception;

    /**
     * 查询客户是否申请驳回报关单
     */
    Result selectByDidsInit(String declarationIds);

    /**
     * 报关单退回给客户
     */
    Result chargeBack(String declaId, String cbReasonId, String remark) throws Exception;

    /**
     * 供应商驳回
     */
    Result supplierReject(String declaId, String applyReasonId, String remark) throws Exception;

    /**
     * 查询客户报关单驳回情况
     */
    Result rejectRecord(String declarationIds);
}
